package com.ssm.xm.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class DisciplineInfo implements Serializable {
    private Integer disciplineId;

    private String disciplineName;

    private Integer thId;

    private Integer syllabusId;

    private Integer disciplineBring;

    private String disciplineDesc;

    private static final long serialVersionUID = 1L;

    public Integer getDisciplineId() {
        return disciplineId;
    }

    public void setDisciplineId(Integer disciplineId) {
        this.disciplineId = disciplineId;
    }

    public String getDisciplineName() {
        return disciplineName;
    }

    public void setDisciplineName(String disciplineName) {
        this.disciplineName = disciplineName == null ? null : disciplineName.trim();
    }

    public Integer getThId() {
        return thId;
    }

    public void setThId(Integer thId) {
        this.thId = thId;
    }

    public Integer getSyllabusId() {
        return syllabusId;
    }

    public void setSyllabusId(Integer syllabusId) {
        this.syllabusId = syllabusId;
    }

    public Integer getDisciplineBring() {
        return disciplineBring;
    }

    public void setDisciplineBring(Integer disciplineBring) {
        this.disciplineBring = disciplineBring;
    }

    public String getDisciplineDesc() {
        return disciplineDesc;
    }

    public void setDisciplineDesc(String disciplineDesc) {
        this.disciplineDesc = disciplineDesc == null ? null : disciplineDesc.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", disciplineId=").append(disciplineId);
        sb.append(", disciplineName=").append(disciplineName);
        sb.append(", thId=").append(thId);
        sb.append(", syllabusId=").append(syllabusId);
        sb.append(", disciplineBring=").append(disciplineBring);
        sb.append(", disciplineDesc=").append(disciplineDesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}